import Layout from "@/layout/index.vue";

export const conFileTemplateRoutes = [
    {
        path: '/contract',
        component: Layout,
        hidden: true,
        children: [
            {
                permissions: ['con:conFileTemplate:update'],
                path: 'fileTemplate/view/:templateId(\\d+)',
                component: () => import('@/views/contract/fileTemplate/templateView.vue'),
                name: 'ConTemplateView',
                meta: { title: '合同模板详情', activeMenu: '/contract/template' }
            }
        ]
    },
    {
        path: '/contract',
        hidden: true,
        children: [
            {
                path: 'fileTemplate/openFile/:templateId(\\d+)',
                component: () => import('@/views/contract/fileTemplate/templateFile.vue'),
                name: 'ConTemplateFile',
                meta: { title: '合同模板正文' }
            }
        ]
    }
]